import java.lang.reflect.Array;

public class P17 {
    public static void main(String[] args) {
        int num1 = 10;
        int num2 = num1>19?num1:11;
        System.out.println(num2);

        System.out.println("---------------------------------------------------");

        //例子: 超时促销，如果会员卡号的末位是奇数，则获得优惠券一张，怎么做?
        int no = 1233;
        String res = no%10%2!=0?"恭喜获得优惠券一张":"抱歉您不符合条件";
        System.out.println(res);
    }
}
